Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @session to remove duplication from DSL specs. #913

Merged
merged 1 commit into from Dec 26, 2012

Conversation

randycoulman
Copy link
Contributor

In spec/dsl_spec.rb, there was a before clause defining @session, but it wasn't being used in any of the specs in that context. Instead, each spec creates its own version of it. This removes the duplication by making use of the already-existing @session variable.

@joliss
Copy link
Collaborator

joliss commented Dec 26, 2012

Nice, thanks!

joliss added a commit that referenced this pull request Dec 26, 2012
Use @session to remove duplication from DSL specs.
@joliss joliss merged commit 4be50fa into teamcapybara:master Dec 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants